import { Bot } from "../bot/Bot.js";

type ActArgType = "int" | "float" | "bool" | "string";
export interface ActArg {
  type: ActArgType;
  name: string;
  description?: string;
}

export interface Act {
  name: string;
  description: string;
  params?: Array<ActArg>;
  perform: (bot: Bot, args: Record<string, any>) => string | Promise<string> | void | Promise<void>;
}

export type ActState = "空闲" | "正在攻击玩家" | string;
